package ntue.dtd.account;

import android.app.Activity;

/**
 * 登入管理
 */
public class LoginManager extends Activity{

	/**
	 * 帳密驗證
	 * @param account 輸入帳號
	 * @param passwords 輸入密碼
	 * @return true or false
	 */
	public static boolean Login(String account, String passwords) {
		boolean status = false;
		if (account.equalsIgnoreCase("ntue")) {
			if (passwords.equalsIgnoreCase("dtd")) {
				status = true;
			}
		}
		return status;
	}
}
